<html>

<table border=1 style="font-size: 12px;">
<?php $c = 1; ?>
@foreach ( $items as $item )
	@for ($i = 1; $i <= $item->quantity; $i++) 
		@if ( $c === 1 )
			<tr>
		@endif
		<td style="width: 190px !important; padding: 5px; vertical-align: top;">
			<strong>{{ $i }} of {{ $item->quantity }}</strong>
			<table>
				<tr><td style="font-weight: bold">{{ $print_sticker_name }}:</td><td>{{ $item->lastname }}, {{ $item->firstname }}</td></tr>
				<tr><td style="font-weight: bold">{{ $print_sticker_po_number }}:</td><td>{{ $item->po_number }}</td></tr>
				<tr><td style="font-weight: bold">{{ $print_sticker_product_name }}:</td><td>{{ $item->product_name }} - {{ $item->option_value }}</td></tr>
				<tr><td style="font-weight: bold">{{ $print_sticker_order_product_id }}:</td><td>{{ $item->ORDER_PRODUCT_id }}</td></tr>
				<tr><td style="font-weight: bold">{{ $print_sticker_company }}:</td><td>{{ strtoupper($item->company_code) }}</td></tr>
				<tr><td style="font-weight: bold">{{ $print_sticker_branch }}:</td><td>{{ strtoupper($item->BRANCH_id) }}</td></tr>
			</table>
		</td>
		@if ( $c === 3 )
			</tr>
			<?php $c = 1; ?>
		@else
			<?php $c++; ?>
		@endif
	@endfor
@endforeach

{{-- Close for 1 or 2 box on row --}}
@if ( $c === 2 )
	<td style="width: 200px !important;">&nbsp;</td><td style="width: 200px !important;">&nbsp;</td></tr>
@elseif ( $c === 3 )
	<td style="width: 200px !important;">&nbsp;</td></tr>
@endif
</table>
</html>